// component/navigation/ContentContainer.js
// const app = getApp();

Component({
  /**
   * 组件的属性列表
   */
  properties: {
    statusBarHeight: {
      type: Number,
      value: 50
      // value:app.globalData.systemInfo['statusBarHeight']
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },
  attached: function () {
    const info = wx.getSystemInfoSync();
    console.log(info)
    this.setData({
      statusBarHeight: info.statusBarHeight
    })
  },
  //用于自定义字体样式
  externalClasses: ['customer-style'],
  /**
   * 组件的方法列表
   */
  methods: {
    closeModel: function (e) {
      this.triggerEvent('closeModel', e, {});
    }
  }
})